package com.wondertek.poms.transform.xmlvo;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SvcCont {
	
	@NotBlank(message = "内容id不能为空")
	@JacksonXmlProperty(localName = "ContentID")
	private String contentID;
	
	@JacksonXmlProperty(localName = "CPID")
	private String cpId;
	
	@NotBlank(message = "nas路径不能为空")
	@JacksonXmlProperty(localName = "BasePath")
	private String basePath;
	
	@JacksonXmlProperty(localName = "EnableType")
	private String enableType;
	
	@NotBlank(message = "操作码不能为空")
	@JacksonXmlProperty(localName = "OprCode")
	private String oprCode;
	
	@JacksonXmlProperty(localName = "OprTime")
	private String oprTime;
	
	@JacksonXmlProperty(localName = "Priority")
	private String priority;
	
	@JacksonXmlProperty(localName = "ServType")
	private String servType;
	
	@JacksonXmlProperty(localName = "NeedBC")
	private String needBC;	
	
	@JacksonXmlProperty(localName = "distResult")
	private String distResult;
	
	@JacksonXmlProperty(localName = "updateFields")
	private String updateFields;	
}
